/*
 * @Author: DeluxePig
 * @LastEditors: DeluxePig 250293786@qq.com
 * @Date: 2024-06-17 21:34:19
 * @LastEditTime: 2024-06-19 00:44:10
 * @Description: 名片接口
 */
import request from '@/utils/request'

// 获取用户名片访问历史
export function cardVisitApi(params) {
  return request({
    url: '/users-api/base/card/visit',
    method: 'get',
    params
  })
}
// 获取用户名片访问历史
export function delVisitApi(params) {
  return request({
    url: '/users-api/base/card/visit',
    method: 'DELETE',
    params
  })
}
// 获取名片配置信息
export function cardConfigApi(params) {
  return request({
    url: '/users-api/base/card/config',
    method: 'get',
    params
  })
}
// 获取名片配置信息
export function saveCardApi(params) {
  return request({
    url: '/users-api/base/card/config',
    method: 'POST',
    data: params
  })
}
// 获取名片模板列表
export function modelBaseApi(params) {
  return request({
    url: '/users-api/config/card-template',
    method: 'get',
    params
  })
}
